﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.CompanyDomain
{
  public  class Company
    {
        #region Properties
        public int ID { get; set; }
        public string Name { get; set; }
        public string ShortName { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        public int CompanyGroupID { get; set; }
        public Guid CompanyPictureID { get; set; } 
        #endregion

        #region NavigationalProperties
      [ForeignKey("CompanyGroupID")]
        public virtual CompanyGroup Group { get; set; }
        public ICollection<BranchGroup> BranchGroups { get; set; }
        public virtual ICollection<Branch> Branches { get; set; }
      [ForeignKey("CompanyPictureID")]
      public virtual CompanyPicture Logo { get; set; }
        #endregion

    }
}
